package com.ht.modules.component.ai.session.entity;

import dev.langchain4j.data.message.ChatMessageType;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Builder
@Data
@Document("SessionInfo")
public class SessionInfo implements Serializable {
    @Id
    private String id;
    @Field("sessionId")
    private String sessionId;
    @Field("type")
    private ChatMessageType type;
    @Field("message")
    private String message;
    @Field("dataTime")
    private String dataTime ;
}
